<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Cheetah Software: ControlParameters Class Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Cheetah Software
   &#160;<span id="projectnumber">1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="../../namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="../../annotated.html"><span>Classes</span></a></li>
      <li><a href="../../files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="../../classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="../../inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="../../functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('d8/d86/class_control_parameters.html','../../');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="../../d8/d7b/class_control_parameters-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">ControlParameters Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="../../d2/d01/_control_parameters_8h_source.html">ControlParameters.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="../../closed.png" alt="+"/> Inheritance diagram for ControlParameters:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../da/dae/class_control_parameters__inherit__graph.png" border="0" usemap="#_control_parameters_inherit__map" alt="Inheritance graph"/></div>
<map name="_control_parameters_inherit__map" id="_control_parameters_inherit__map">
</map>
</div>
<div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-1-trigger" src="../../closed.png" alt="+"/> Collaboration diagram for ControlParameters:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d1/da9/class_control_parameters__coll__graph.png" border="0" usemap="#_control_parameters_coll__map" alt="Collaboration graph"/></div>
<map name="_control_parameters_coll__map" id="_control_parameters_coll__map">
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a804ddee5173487922e790b32e89a70ff"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d86/class_control_parameters.html#a804ddee5173487922e790b32e89a70ff">ControlParameters</a> (const std::string &amp;name)</td></tr>
<tr class="separator:a804ddee5173487922e790b32e89a70ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12b144b3d659080b6e0bfd93569b566e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d86/class_control_parameters.html#a12b144b3d659080b6e0bfd93569b566e">isFullyInitialized</a> ()</td></tr>
<tr class="separator:a12b144b3d659080b6e0bfd93569b566e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5f39ed6a80cc0abe90887055acc922f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d86/class_control_parameters.html#ae5f39ed6a80cc0abe90887055acc922f">initializeDouble</a> (const std::string &amp;name, double d)</td></tr>
<tr class="separator:ae5f39ed6a80cc0abe90887055acc922f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a301ed9db3e1dc917c9130d706f1c7764"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d86/class_control_parameters.html#a301ed9db3e1dc917c9130d706f1c7764">initializeFloat</a> (const std::string &amp;name, float <a class="el" href="../../dc/dd7/test__casadi_8cpp.html#ae20d7fba59865a21504b65cdb44cbfe5">f</a>)</td></tr>
<tr class="separator:a301ed9db3e1dc917c9130d706f1c7764"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb42c9876070a4358bff08c26e48f4b7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d86/class_control_parameters.html#aeb42c9876070a4358bff08c26e48f4b7">initializeInteger</a> (const std::string &amp;name, <a class="el" href="../../d0/d99/c_types_8h.html#a350c6fc928e3bdc6c6486268ac8fb269">s64</a> i)</td></tr>
<tr class="separator:aeb42c9876070a4358bff08c26e48f4b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a7e46d226067a4f1e00248efb55db1b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d86/class_control_parameters.html#a0a7e46d226067a4f1e00248efb55db1b">initializeVec3f</a> (const std::string &amp;name, <a class="el" href="../../d9/d8e/cpp_types_8h.html#a6f07728c866b15ff0676a9b2ebfd2ba6">Vec3</a>&lt; float &gt; &amp;v)</td></tr>
<tr class="separator:a0a7e46d226067a4f1e00248efb55db1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af90106f2450e3521eb6ff2e567506d16"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d86/class_control_parameters.html#af90106f2450e3521eb6ff2e567506d16">initializeVec3d</a> (const std::string &amp;name, <a class="el" href="../../d9/d8e/cpp_types_8h.html#a6f07728c866b15ff0676a9b2ebfd2ba6">Vec3</a>&lt; double &gt; &amp;v)</td></tr>
<tr class="separator:af90106f2450e3521eb6ff2e567506d16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f614fa95d472922d65efe48238a7afc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d86/class_control_parameters.html#a8f614fa95d472922d65efe48238a7afc">lockMutex</a> ()</td></tr>
<tr class="separator:a8f614fa95d472922d65efe48238a7afc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af025ae2e93e63f23e77802189bfbc0af"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d86/class_control_parameters.html#af025ae2e93e63f23e77802189bfbc0af">unlockMutex</a> ()</td></tr>
<tr class="separator:af025ae2e93e63f23e77802189bfbc0af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76eb75236afb53701ca4eb33e18ed418"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d86/class_control_parameters.html#a76eb75236afb53701ca4eb33e18ed418">writeToIniFile</a> (const std::string &amp;path)</td></tr>
<tr class="separator:a76eb75236afb53701ca4eb33e18ed418"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b6c5ee9b0578bae6c795d7b93d1d295"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d86/class_control_parameters.html#a2b6c5ee9b0578bae6c795d7b93d1d295">initializeFromIniFile</a> (const std::string &amp;path)</td></tr>
<tr class="separator:a2b6c5ee9b0578bae6c795d7b93d1d295"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18eb23794d712e6c56120e644883e4e0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d86/class_control_parameters.html#a18eb23794d712e6c56120e644883e4e0">initializeFromYamlFile</a> (const std::string &amp;path)</td></tr>
<tr class="separator:a18eb23794d712e6c56120e644883e4e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab20496fc55207ace7e7589fd652edcf4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d86/class_control_parameters.html#ab20496fc55207ace7e7589fd652edcf4">defineAndInitializeFromYamlFile</a> (const std::string &amp;path)</td></tr>
<tr class="separator:ab20496fc55207ace7e7589fd652edcf4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3eabcba112adc206c8a11d0cbfc75619"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d86/class_control_parameters.html#a3eabcba112adc206c8a11d0cbfc75619">writeToYamlFile</a> (const std::string &amp;path)</td></tr>
<tr class="separator:a3eabcba112adc206c8a11d0cbfc75619"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6fc860c65c6484562dfc922cb5806410"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d86/class_control_parameters.html#a6fc860c65c6484562dfc922cb5806410">generateUnitializedList</a> ()</td></tr>
<tr class="separator:a6fc860c65c6484562dfc922cb5806410"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:ab42dff0f07e88bf44c831238dd4ce96f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../dd/da1/class_control_parameter_collection.html">ControlParameterCollection</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d86/class_control_parameters.html#ab42dff0f07e88bf44c831238dd4ce96f">collection</a></td></tr>
<tr class="separator:ab42dff0f07e88bf44c831238dd4ce96f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:acb31e0cf84b904c13a8d4cc62314ed8f"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d86/class_control_parameters.html#acb31e0cf84b904c13a8d4cc62314ed8f">_name</a></td></tr>
<tr class="separator:acb31e0cf84b904c13a8d4cc62314ed8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac272e84e8fcf627cdd7c6f9c985a621d"><td class="memItemLeft" align="right" valign="top">std::mutex&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d86/class_control_parameters.html#ac272e84e8fcf627cdd7c6f9c985a621d">_mutex</a></td></tr>
<tr class="separator:ac272e84e8fcf627cdd7c6f9c985a621d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Parent class for groups of parameters RobotParameters and SimulatorParameters inherit from this class </p>

<p>Definition at line <a class="el" href="../../d2/d01/_control_parameters_8h_source.html#l00391">391</a> of file <a class="el" href="../../d2/d01/_control_parameters_8h_source.html">ControlParameters.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a804ddee5173487922e790b32e89a70ff"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ControlParameters::ControlParameters </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Each control parameter group must have a unique name so the ini files don't mixed up </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="../../d2/d01/_control_parameters_8h_source.html#l00398">398</a> of file <a class="el" href="../../d2/d01/_control_parameters_8h_source.html">ControlParameters.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;: <a class="code" href="../../d8/d86/class_control_parameters.html#ab42dff0f07e88bf44c831238dd4ce96f">collection</a>(name), <a class="code" href="../../d8/d86/class_control_parameters.html#acb31e0cf84b904c13a8d4cc62314ed8f">_name</a>(name) {}</div><div class="ttc" id="class_control_parameters_html_ab42dff0f07e88bf44c831238dd4ce96f"><div class="ttname"><a href="../../d8/d86/class_control_parameters.html#ab42dff0f07e88bf44c831238dd4ce96f">ControlParameters::collection</a></div><div class="ttdeci">ControlParameterCollection collection</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00441">ControlParameters.h:441</a></div></div>
<div class="ttc" id="class_control_parameters_html_acb31e0cf84b904c13a8d4cc62314ed8f"><div class="ttname"><a href="../../d8/d86/class_control_parameters.html#acb31e0cf84b904c13a8d4cc62314ed8f">ControlParameters::_name</a></div><div class="ttdeci">std::string _name</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00444">ControlParameters.h:444</a></div></div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ab20496fc55207ace7e7589fd652edcf4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ControlParameters::defineAndInitializeFromYamlFile </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../d5/d90/_control_parameters_8cpp_source.html#l00280">280</a> of file <a class="el" href="../../d5/d90/_control_parameters_8cpp_source.html">ControlParameters.cpp</a>.</p>

<p>References <a class="el" href="../../d2/d01/_control_parameters_8h_source.html#l00381">ControlParameter::_kind</a>, <a class="el" href="../../d2/d01/_control_parameters_8h_source.html#l00117">ControlParameterCollection::_name</a>, <a class="el" href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3afd3e4ece78a7d422280d5ed379482229">DOUBLE</a>, <a class="el" href="../../dc/dd7/test__casadi_8cpp_source.html#l00202">f()</a>, <a class="el" href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3ae738c26bf4ce1037fa81b039a915cbf6">FLOAT</a>, <a class="el" href="../../d2/d01/_control_parameters_8h_source.html#l00201">ControlParameter::initializeDouble()</a>, <a class="el" href="../../d2/d01/_control_parameters_8h_source.html#l00212">ControlParameter::initializeFloat()</a>, <a class="el" href="../../d2/d01/_control_parameters_8h_source.html#l00221">ControlParameter::initializeInteger()</a>, <a class="el" href="../../d2/d01/_control_parameters_8h_source.html#l00241">ControlParameter::initializeVec3d()</a>, <a class="el" href="../../d2/d01/_control_parameters_8h_source.html#l00230">ControlParameter::initializeVec3f()</a>, <a class="el" href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3a115dca124dc6423c7a400b8a8a0270cc">S64</a>, <a class="el" href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3acda86ec015dc718f45093f44299896b7">VEC3_DOUBLE</a>, <a class="el" href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3a67e64e66f81168ac8d94ce0c2467eb95">VEC3_FLOAT</a>, and <a class="el" href="../../d5/d90/_control_parameters_8cpp_source.html#l00014">YAML_COLLECTION_NAME_KEY</a>.</p>
<div class="fragment"><div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;                                                                             {</div><div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;  ParamHandler paramHandler(path);</div><div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;</div><div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;  <span class="keywordflow">if</span> (!paramHandler.fileOpenedSuccessfully()) {</div><div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;    printf(</div><div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;        <span class="stringliteral">&quot;[ERROR] Could not open yaml file %s : not initializing control &quot;</span></div><div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;        <span class="stringliteral">&quot;parameters!\n&quot;</span>,</div><div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;        path.c_str());</div><div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;    <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">&quot;yaml file bad&quot;</span>);</div><div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;  }</div><div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;</div><div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;  std::string name;</div><div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;  <span class="keywordflow">if</span> (!paramHandler.getString(<a class="code" href="../../d5/d90/_control_parameters_8cpp.html#a53f4748d9620c875c3cd48372e3a2258">YAML_COLLECTION_NAME_KEY</a>, name)) {</div><div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;    printf(<span class="stringliteral">&quot;[ERROR] YAML doesn&#39;t have a a collection name field named %s\n&quot;</span>,</div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;           <a class="code" href="../../d5/d90/_control_parameters_8cpp.html#a53f4748d9620c875c3cd48372e3a2258">YAML_COLLECTION_NAME_KEY</a>);</div><div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;    <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">&quot;yaml file bad&quot;</span>);</div><div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;  }</div><div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;</div><div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;  <span class="keywordflow">if</span> (name != <a class="code" href="../../d8/d86/class_control_parameters.html#acb31e0cf84b904c13a8d4cc62314ed8f">_name</a>) {</div><div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;    printf(</div><div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;        <span class="stringliteral">&quot;[ERROR] YAML file %s has collection name %s which cannot be used to &quot;</span></div><div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;        <span class="stringliteral">&quot;initialize %s\n&quot;</span>,</div><div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;        path.c_str(), name.c_str(), <a class="code" href="../../d8/d86/class_control_parameters.html#acb31e0cf84b904c13a8d4cc62314ed8f">_name</a>.c_str());</div><div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;    <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">&quot;yaml file bad&quot;</span>);</div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;  }</div><div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;</div><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;  std::vector&lt;std::string&gt; keys = paramHandler.getKeys();</div><div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;</div><div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;  <span class="keywordflow">for</span> (<span class="keyword">auto</span>&amp; key : keys) {</div><div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;    <span class="keywordflow">if</span> (key == <a class="code" href="../../d5/d90/_control_parameters_8cpp.html#a53f4748d9620c875c3cd48372e3a2258">YAML_COLLECTION_NAME_KEY</a>) <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;    std::string valueString;</div><div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;    paramHandler.getString(key, valueString);</div><div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;    <a class="code" href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3">ControlParameterValueKind</a> kind;</div><div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;    <span class="keywordflow">if</span>(valueString.empty()) {</div><div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;      kind = <a class="code" href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3acda86ec015dc718f45093f44299896b7">ControlParameterValueKind::VEC3_DOUBLE</a>;</div><div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;    } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;      kind = <a class="code" href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3afd3e4ece78a7d422280d5ed379482229">ControlParameterValueKind::DOUBLE</a>;</div><div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;    }</div><div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;</div><div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;    <a class="code" href="../../da/d98/class_control_parameter.html">ControlParameter</a>* cp = <span class="keyword">new</span> <a class="code" href="../../da/d98/class_control_parameter.html">ControlParameter</a>(key, kind);</div><div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;    <a class="code" href="../../d8/d86/class_control_parameters.html#ab42dff0f07e88bf44c831238dd4ce96f">collection</a>.<a class="code" href="../../dd/da1/class_control_parameter_collection.html#a3080ce39e957349dfe87ba7da7d0d8ec">addParameter</a>(cp, key);</div><div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;    <span class="keywordflow">switch</span> (cp-&gt;<a class="code" href="../../da/d98/class_control_parameter.html#a9bfcef0e53e248af51d60e013609ce8f">_kind</a>) {</div><div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;      <span class="keywordflow">case</span> <a class="code" href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3afd3e4ece78a7d422280d5ed379482229">ControlParameterValueKind::DOUBLE</a>: {</div><div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;        <span class="keywordtype">double</span> d;</div><div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;        assert(paramHandler.getValue(key, d));</div><div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;        cp-&gt;<a class="code" href="../../da/d98/class_control_parameter.html#a13b0c1993d779ecd063a2177507f2704">initializeDouble</a>(d);</div><div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;      } <span class="keywordflow">break</span>;</div><div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;</div><div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;      <span class="keywordflow">case</span> <a class="code" href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3ae738c26bf4ce1037fa81b039a915cbf6">ControlParameterValueKind::FLOAT</a>: {</div><div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;        <span class="keywordtype">float</span> <a class="code" href="../../dc/dd7/test__casadi_8cpp.html#ae20d7fba59865a21504b65cdb44cbfe5">f</a>;</div><div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;        assert(paramHandler.getValue(key, f));</div><div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;        cp-&gt;<a class="code" href="../../da/d98/class_control_parameter.html#a758ba2c0d184af0c0a19caee656b2af3">initializeFloat</a>(f);</div><div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;      } <span class="keywordflow">break</span>;</div><div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;</div><div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;      <span class="keywordflow">case</span> <a class="code" href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3a115dca124dc6423c7a400b8a8a0270cc">ControlParameterValueKind::S64</a>: {</div><div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;        <a class="code" href="../../d0/d99/c_types_8h.html#a350c6fc928e3bdc6c6486268ac8fb269">s64</a> <a class="code" href="../../dc/dd7/test__casadi_8cpp.html#ae20d7fba59865a21504b65cdb44cbfe5">f</a>;</div><div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;        assert(paramHandler.getValue(key, f));</div><div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;        cp-&gt;<a class="code" href="../../da/d98/class_control_parameter.html#abc08f598172aee1e86f51edc67f3fdd8">initializeInteger</a>(f);</div><div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;      } <span class="keywordflow">break</span>;</div><div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;</div><div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;      <span class="keywordflow">case</span> <a class="code" href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3acda86ec015dc718f45093f44299896b7">ControlParameterValueKind::VEC3_DOUBLE</a>: {</div><div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;        std::vector&lt;double&gt; vv;</div><div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;        assert(paramHandler.getVector(key, vv));</div><div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;        assert(vv.size() == 3);</div><div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;        <a class="code" href="../../d9/d8e/cpp_types_8h.html#a6f07728c866b15ff0676a9b2ebfd2ba6">Vec3&lt;double&gt;</a> v(vv[0], vv[1], vv[2]);</div><div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;        cp-&gt;<a class="code" href="../../da/d98/class_control_parameter.html#a09a2be4eb342febe00c60d9eaa735d4e">initializeVec3d</a>(v);</div><div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;      } <span class="keywordflow">break</span>;</div><div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;</div><div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;      <span class="keywordflow">case</span> <a class="code" href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3a67e64e66f81168ac8d94ce0c2467eb95">ControlParameterValueKind::VEC3_FLOAT</a>: {</div><div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;        std::vector&lt;float&gt; vv;</div><div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;        assert(paramHandler.getVector(key, vv));</div><div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;        assert(vv.size() == 3);</div><div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;        <a class="code" href="../../d9/d8e/cpp_types_8h.html#a6f07728c866b15ff0676a9b2ebfd2ba6">Vec3&lt;float&gt;</a> v(vv[0], vv[1], vv[2]);</div><div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;        cp-&gt;<a class="code" href="../../da/d98/class_control_parameter.html#adc8af6ad0dfb0c862cae6ec8ae8d4afd">initializeVec3f</a>(v);</div><div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;      } <span class="keywordflow">break</span>;</div><div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;</div><div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;      <span class="keywordflow">default</span>:</div><div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;        <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">&quot;can&#39;t read type &quot;</span> +</div><div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;                                 std::to_string((<a class="code" href="../../d0/d99/c_types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a>)cp-&gt;<a class="code" href="../../da/d98/class_control_parameter.html#a9bfcef0e53e248af51d60e013609ce8f">_kind</a>) +</div><div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;                                 <span class="stringliteral">&quot; from yaml file&quot;</span>);</div><div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;        <span class="keywordflow">break</span>;</div><div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;    }</div><div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;  }</div><div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;}</div><div class="ttc" id="class_control_parameters_html_ab42dff0f07e88bf44c831238dd4ce96f"><div class="ttname"><a href="../../d8/d86/class_control_parameters.html#ab42dff0f07e88bf44c831238dd4ce96f">ControlParameters::collection</a></div><div class="ttdeci">ControlParameterCollection collection</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00441">ControlParameters.h:441</a></div></div>
<div class="ttc" id="class_control_parameter_html_a9bfcef0e53e248af51d60e013609ce8f"><div class="ttname"><a href="../../da/d98/class_control_parameter.html#a9bfcef0e53e248af51d60e013609ce8f">ControlParameter::_kind</a></div><div class="ttdeci">ControlParameterValueKind _kind</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00381">ControlParameters.h:381</a></div></div>
<div class="ttc" id="_control_parameters_8h_html_a09b572cf97f12b378290dee549d8ecc3"><div class="ttname"><a href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3">ControlParameterValueKind</a></div><div class="ttdeci">ControlParameterValueKind</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00034">ControlParameters.h:34</a></div></div>
<div class="ttc" id="class_control_parameters_html_acb31e0cf84b904c13a8d4cc62314ed8f"><div class="ttname"><a href="../../d8/d86/class_control_parameters.html#acb31e0cf84b904c13a8d4cc62314ed8f">ControlParameters::_name</a></div><div class="ttdeci">std::string _name</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00444">ControlParameters.h:444</a></div></div>
<div class="ttc" id="cpp_types_8h_html_a6f07728c866b15ff0676a9b2ebfd2ba6"><div class="ttname"><a href="../../d9/d8e/cpp_types_8h.html#a6f07728c866b15ff0676a9b2ebfd2ba6">Vec3</a></div><div class="ttdeci">typename Eigen::Matrix&lt; T, 3, 1 &gt; Vec3</div><div class="ttdef"><b>Definition:</b> <a href="../../d9/d8e/cpp_types_8h_source.html#l00026">cppTypes.h:26</a></div></div>
<div class="ttc" id="class_control_parameter_html"><div class="ttname"><a href="../../da/d98/class_control_parameter.html">ControlParameter</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00120">ControlParameters.h:120</a></div></div>
<div class="ttc" id="c_types_8h_html_a350c6fc928e3bdc6c6486268ac8fb269"><div class="ttname"><a href="../../d0/d99/c_types_8h.html#a350c6fc928e3bdc6c6486268ac8fb269">s64</a></div><div class="ttdeci">int64_t s64</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d99/c_types_8h_source.html#l00024">cTypes.h:24</a></div></div>
<div class="ttc" id="class_control_parameter_html_a09a2be4eb342febe00c60d9eaa735d4e"><div class="ttname"><a href="../../da/d98/class_control_parameter.html#a09a2be4eb342febe00c60d9eaa735d4e">ControlParameter::initializeVec3d</a></div><div class="ttdeci">void initializeVec3d(const Vec3&lt; double &gt; &amp;v)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00241">ControlParameters.h:241</a></div></div>
<div class="ttc" id="class_control_parameter_html_abc08f598172aee1e86f51edc67f3fdd8"><div class="ttname"><a href="../../da/d98/class_control_parameter.html#abc08f598172aee1e86f51edc67f3fdd8">ControlParameter::initializeInteger</a></div><div class="ttdeci">void initializeInteger(s64 i)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00221">ControlParameters.h:221</a></div></div>
<div class="ttc" id="class_control_parameter_html_a13b0c1993d779ecd063a2177507f2704"><div class="ttname"><a href="../../da/d98/class_control_parameter.html#a13b0c1993d779ecd063a2177507f2704">ControlParameter::initializeDouble</a></div><div class="ttdeci">void initializeDouble(double d)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00201">ControlParameters.h:201</a></div></div>
<div class="ttc" id="c_types_8h_html_afaa62991928fb9fb18ff0db62a040aba"><div class="ttname"><a href="../../d0/d99/c_types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a></div><div class="ttdeci">uint32_t u32</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d99/c_types_8h_source.html#l00018">cTypes.h:18</a></div></div>
<div class="ttc" id="_control_parameters_8cpp_html_a53f4748d9620c875c3cd48372e3a2258"><div class="ttname"><a href="../../d5/d90/_control_parameters_8cpp.html#a53f4748d9620c875c3cd48372e3a2258">YAML_COLLECTION_NAME_KEY</a></div><div class="ttdeci">#define YAML_COLLECTION_NAME_KEY</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/d90/_control_parameters_8cpp_source.html#l00014">ControlParameters.cpp:14</a></div></div>
<div class="ttc" id="_control_parameters_8h_html_a09b572cf97f12b378290dee549d8ecc3acda86ec015dc718f45093f44299896b7"><div class="ttname"><a href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3acda86ec015dc718f45093f44299896b7">ControlParameterValueKind::VEC3_DOUBLE</a></div></div>
<div class="ttc" id="_control_parameters_8h_html_a09b572cf97f12b378290dee549d8ecc3a67e64e66f81168ac8d94ce0c2467eb95"><div class="ttname"><a href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3a67e64e66f81168ac8d94ce0c2467eb95">ControlParameterValueKind::VEC3_FLOAT</a></div></div>
<div class="ttc" id="class_control_parameter_html_adc8af6ad0dfb0c862cae6ec8ae8d4afd"><div class="ttname"><a href="../../da/d98/class_control_parameter.html#adc8af6ad0dfb0c862cae6ec8ae8d4afd">ControlParameter::initializeVec3f</a></div><div class="ttdeci">void initializeVec3f(const Vec3&lt; float &gt; &amp;v)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00230">ControlParameters.h:230</a></div></div>
<div class="ttc" id="_control_parameters_8h_html_a09b572cf97f12b378290dee549d8ecc3a115dca124dc6423c7a400b8a8a0270cc"><div class="ttname"><a href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3a115dca124dc6423c7a400b8a8a0270cc">ControlParameterValueKind::S64</a></div></div>
<div class="ttc" id="class_control_parameter_html_a758ba2c0d184af0c0a19caee656b2af3"><div class="ttname"><a href="../../da/d98/class_control_parameter.html#a758ba2c0d184af0c0a19caee656b2af3">ControlParameter::initializeFloat</a></div><div class="ttdeci">void initializeFloat(float f)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00212">ControlParameters.h:212</a></div></div>
<div class="ttc" id="_control_parameters_8h_html_a09b572cf97f12b378290dee549d8ecc3afd3e4ece78a7d422280d5ed379482229"><div class="ttname"><a href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3afd3e4ece78a7d422280d5ed379482229">ControlParameterValueKind::DOUBLE</a></div></div>
<div class="ttc" id="class_control_parameter_collection_html_a3080ce39e957349dfe87ba7da7d0d8ec"><div class="ttname"><a href="../../dd/da1/class_control_parameter_collection.html#a3080ce39e957349dfe87ba7da7d0d8ec">ControlParameterCollection::addParameter</a></div><div class="ttdeci">void addParameter(ControlParameter *param, const std::string &amp;name)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00080">ControlParameters.h:80</a></div></div>
<div class="ttc" id="_control_parameters_8h_html_a09b572cf97f12b378290dee549d8ecc3ae738c26bf4ce1037fa81b039a915cbf6"><div class="ttname"><a href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3ae738c26bf4ce1037fa81b039a915cbf6">ControlParameterValueKind::FLOAT</a></div></div>
<div class="ttc" id="test__casadi_8cpp_html_ae20d7fba59865a21504b65cdb44cbfe5"><div class="ttname"><a href="../../dc/dd7/test__casadi_8cpp.html#ae20d7fba59865a21504b65cdb44cbfe5">f</a></div><div class="ttdeci">MX f(const MX &amp;x, const MX &amp;u)</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/dd7/test__casadi_8cpp_source.html#l00202">test_casadi.cpp:202</a></div></div>
</div><!-- fragment -->
<p><div id="dynsection-2" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-2-trigger" src="../../closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-2-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-2-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d8/d86/class_control_parameters_ab20496fc55207ace7e7589fd652edcf4_cgraph.png" border="0" usemap="#d8/d86/class_control_parameters_ab20496fc55207ace7e7589fd652edcf4_cgraph" alt=""/></div>
<map name="d8/d86/class_control_parameters_ab20496fc55207ace7e7589fd652edcf4_cgraph" id="d8/d86/class_control_parameters_ab20496fc55207ace7e7589fd652edcf4_cgraph">
</map>
</div>
</p>

<p><div id="dynsection-3" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-3-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-3-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-3-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d8/d86/class_control_parameters_ab20496fc55207ace7e7589fd652edcf4_icgraph.png" border="0" usemap="#d8/d86/class_control_parameters_ab20496fc55207ace7e7589fd652edcf4_icgraph" alt=""/></div>
<map name="d8/d86/class_control_parameters_ab20496fc55207ace7e7589fd652edcf4_icgraph" id="d8/d86/class_control_parameters_ab20496fc55207ace7e7589fd652edcf4_icgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a6fc860c65c6484562dfc922cb5806410"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string ControlParameters::generateUnitializedList </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../d5/d90/_control_parameters_8cpp_source.html#l00089">89</a> of file <a class="el" href="../../d5/d90/_control_parameters_8cpp_source.html">ControlParameters.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;                                                     {</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;  std::string result;</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;  <span class="keywordflow">for</span> (<span class="keyword">auto</span>&amp; kv : <a class="code" href="../../d8/d86/class_control_parameters.html#ab42dff0f07e88bf44c831238dd4ce96f">collection</a>.<a class="code" href="../../dd/da1/class_control_parameter_collection.html#a10baad903728358f310f523c45e0326c">_map</a>) {</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    <span class="keywordflow">if</span> (!kv.second-&gt;_set) {</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;      result += kv.second-&gt;_name + <span class="stringliteral">&quot;    :\n&quot;</span>;</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    }</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;  }</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;  <span class="keywordflow">return</span> result;</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;}</div><div class="ttc" id="class_control_parameters_html_ab42dff0f07e88bf44c831238dd4ce96f"><div class="ttname"><a href="../../d8/d86/class_control_parameters.html#ab42dff0f07e88bf44c831238dd4ce96f">ControlParameters::collection</a></div><div class="ttdeci">ControlParameterCollection collection</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00441">ControlParameters.h:441</a></div></div>
<div class="ttc" id="class_control_parameter_collection_html_a10baad903728358f310f523c45e0326c"><div class="ttname"><a href="../../dd/da1/class_control_parameter_collection.html#a10baad903728358f310f523c45e0326c">ControlParameterCollection::_map</a></div><div class="ttdeci">std::map&lt; std::string, ControlParameter * &gt; _map</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00114">ControlParameters.h:114</a></div></div>
</div><!-- fragment -->
<p><div id="dynsection-4" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-4-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-4-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-4-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d8/d86/class_control_parameters_a6fc860c65c6484562dfc922cb5806410_icgraph.png" border="0" usemap="#d8/d86/class_control_parameters_a6fc860c65c6484562dfc922cb5806410_icgraph" alt=""/></div>
<map name="d8/d86/class_control_parameters_a6fc860c65c6484562dfc922cb5806410_icgraph" id="d8/d86/class_control_parameters_a6fc860c65c6484562dfc922cb5806410_icgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ae5f39ed6a80cc0abe90887055acc922f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ControlParameters::initializeDouble </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>d</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Directly initialize a given control parameter </p>

<p>Definition at line <a class="el" href="../../d2/d01/_control_parameters_8h_source.html#l00408">408</a> of file <a class="el" href="../../d2/d01/_control_parameters_8h_source.html">ControlParameters.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;                                                         {</div><div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;    <a class="code" href="../../d8/d86/class_control_parameters.html#ab42dff0f07e88bf44c831238dd4ce96f">collection</a>.<a class="code" href="../../dd/da1/class_control_parameter_collection.html#a9e6262aa46992ca879b50d70df030a56">lookup</a>(name).<a class="code" href="../../da/d98/class_control_parameter.html#a13b0c1993d779ecd063a2177507f2704">initializeDouble</a>(d);</div><div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;  }</div><div class="ttc" id="class_control_parameters_html_ab42dff0f07e88bf44c831238dd4ce96f"><div class="ttname"><a href="../../d8/d86/class_control_parameters.html#ab42dff0f07e88bf44c831238dd4ce96f">ControlParameters::collection</a></div><div class="ttdeci">ControlParameterCollection collection</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00441">ControlParameters.h:441</a></div></div>
<div class="ttc" id="class_control_parameter_html_a13b0c1993d779ecd063a2177507f2704"><div class="ttname"><a href="../../da/d98/class_control_parameter.html#a13b0c1993d779ecd063a2177507f2704">ControlParameter::initializeDouble</a></div><div class="ttdeci">void initializeDouble(double d)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00201">ControlParameters.h:201</a></div></div>
<div class="ttc" id="class_control_parameter_collection_html_a9e6262aa46992ca879b50d70df030a56"><div class="ttname"><a href="../../dd/da1/class_control_parameter_collection.html#a9e6262aa46992ca879b50d70df030a56">ControlParameterCollection::lookup</a></div><div class="ttdeci">ControlParameter &amp; lookup(const std::string &amp;name)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00095">ControlParameters.h:95</a></div></div>
</div><!-- fragment -->
<p><div id="dynsection-5" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-5-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-5-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-5-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d8/d86/class_control_parameters_ae5f39ed6a80cc0abe90887055acc922f_icgraph.png" border="0" usemap="#d8/d86/class_control_parameters_ae5f39ed6a80cc0abe90887055acc922f_icgraph" alt=""/></div>
<map name="d8/d86/class_control_parameters_ae5f39ed6a80cc0abe90887055acc922f_icgraph" id="d8/d86/class_control_parameters_ae5f39ed6a80cc0abe90887055acc922f_icgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a301ed9db3e1dc917c9130d706f1c7764"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ControlParameters::initializeFloat </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>f</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../d2/d01/_control_parameters_8h_source.html#l00412">412</a> of file <a class="el" href="../../d2/d01/_control_parameters_8h_source.html">ControlParameters.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;                                                       {</div><div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;    <a class="code" href="../../d8/d86/class_control_parameters.html#ab42dff0f07e88bf44c831238dd4ce96f">collection</a>.<a class="code" href="../../dd/da1/class_control_parameter_collection.html#a9e6262aa46992ca879b50d70df030a56">lookup</a>(name).<a class="code" href="../../da/d98/class_control_parameter.html#a758ba2c0d184af0c0a19caee656b2af3">initializeFloat</a>(<a class="code" href="../../dc/dd7/test__casadi_8cpp.html#ae20d7fba59865a21504b65cdb44cbfe5">f</a>);</div><div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;  }</div><div class="ttc" id="class_control_parameters_html_ab42dff0f07e88bf44c831238dd4ce96f"><div class="ttname"><a href="../../d8/d86/class_control_parameters.html#ab42dff0f07e88bf44c831238dd4ce96f">ControlParameters::collection</a></div><div class="ttdeci">ControlParameterCollection collection</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00441">ControlParameters.h:441</a></div></div>
<div class="ttc" id="class_control_parameter_collection_html_a9e6262aa46992ca879b50d70df030a56"><div class="ttname"><a href="../../dd/da1/class_control_parameter_collection.html#a9e6262aa46992ca879b50d70df030a56">ControlParameterCollection::lookup</a></div><div class="ttdeci">ControlParameter &amp; lookup(const std::string &amp;name)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00095">ControlParameters.h:95</a></div></div>
<div class="ttc" id="class_control_parameter_html_a758ba2c0d184af0c0a19caee656b2af3"><div class="ttname"><a href="../../da/d98/class_control_parameter.html#a758ba2c0d184af0c0a19caee656b2af3">ControlParameter::initializeFloat</a></div><div class="ttdeci">void initializeFloat(float f)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00212">ControlParameters.h:212</a></div></div>
<div class="ttc" id="test__casadi_8cpp_html_ae20d7fba59865a21504b65cdb44cbfe5"><div class="ttname"><a href="../../dc/dd7/test__casadi_8cpp.html#ae20d7fba59865a21504b65cdb44cbfe5">f</a></div><div class="ttdeci">MX f(const MX &amp;x, const MX &amp;u)</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/dd7/test__casadi_8cpp_source.html#l00202">test_casadi.cpp:202</a></div></div>
</div><!-- fragment -->
<p><div id="dynsection-6" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-6-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-6-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-6-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d8/d86/class_control_parameters_a301ed9db3e1dc917c9130d706f1c7764_icgraph.png" border="0" usemap="#d8/d86/class_control_parameters_a301ed9db3e1dc917c9130d706f1c7764_icgraph" alt=""/></div>
<map name="d8/d86/class_control_parameters_a301ed9db3e1dc917c9130d706f1c7764_icgraph" id="d8/d86/class_control_parameters_a301ed9db3e1dc917c9130d706f1c7764_icgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a2b6c5ee9b0578bae6c795d7b93d1d295"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ControlParameters::initializeFromIniFile </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../d5/d90/_control_parameters_8cpp_source.html#l00204">204</a> of file <a class="el" href="../../d5/d90/_control_parameters_8cpp_source.html">ControlParameters.cpp</a>.</p>

<p>References <a class="el" href="../../d2/d01/_control_parameters_8h_source.html#l00381">ControlParameter::_kind</a>, <a class="el" href="../../d2/d01/_control_parameters_8h_source.html#l00117">ControlParameterCollection::_name</a>, <a class="el" href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3afd3e4ece78a7d422280d5ed379482229">DOUBLE</a>, <a class="el" href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3ae738c26bf4ce1037fa81b039a915cbf6">FLOAT</a>, <a class="el" href="../../d2/d01/_control_parameters_8h_source.html#l00201">ControlParameter::initializeDouble()</a>, <a class="el" href="../../d2/d01/_control_parameters_8h_source.html#l00212">ControlParameter::initializeFloat()</a>, <a class="el" href="../../d2/d01/_control_parameters_8h_source.html#l00221">ControlParameter::initializeInteger()</a>, and <a class="el" href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3a115dca124dc6423c7a400b8a8a0270cc">S64</a>.</p>
<div class="fragment"><div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;                                                                   {</div><div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;  INIReader iniReader(path);</div><div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;  <span class="keywordflow">if</span> (iniReader.ParseError() &lt; 0) {</div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;    printf(</div><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;        <span class="stringliteral">&quot;[ERROR] Could not open ini file %s : not initializing control &quot;</span></div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;        <span class="stringliteral">&quot;parameters!\n&quot;</span>,</div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;        path.c_str());</div><div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;    <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">&quot;ini file bad&quot;</span>);</div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;  }</div><div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;</div><div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;  std::set&lt;std::string&gt; sections = iniReader.GetSections();</div><div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;</div><div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;  <span class="keywordflow">if</span> (sections.size() != 1) {</div><div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;    printf(</div><div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;        <span class="stringliteral">&quot;[ERROR] INI file %s had %ld sections (expected 1) : not initializing &quot;</span></div><div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;        <span class="stringliteral">&quot;control parameters\n&quot;</span>,</div><div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;        path.c_str(), sections.size());</div><div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;    <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">&quot;ini file bad&quot;</span>);</div><div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;  }</div><div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;</div><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;  std::string sectionName = *(sections.begin());</div><div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;</div><div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;  <span class="keywordflow">if</span> (sectionName != <a class="code" href="../../d8/d86/class_control_parameters.html#acb31e0cf84b904c13a8d4cc62314ed8f">_name</a>) {</div><div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;    printf(</div><div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;        <span class="stringliteral">&quot;[ERROR] INI file %s has section name %s, which cannot be used to &quot;</span></div><div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;        <span class="stringliteral">&quot;initialize %s\n&quot;</span>,</div><div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;        path.c_str(), sectionName.c_str(), <a class="code" href="../../d8/d86/class_control_parameters.html#acb31e0cf84b904c13a8d4cc62314ed8f">_name</a>.c_str());</div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;    <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">&quot;ini file bad&quot;</span>);</div><div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;  }</div><div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;</div><div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;  std::set&lt;std::string&gt; parameterNames = iniReader.GetFields(sectionName);</div><div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;</div><div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;  <span class="keywordflow">for</span> (<span class="keyword">auto</span>&amp; name : parameterNames) {</div><div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;    <a class="code" href="../../da/d98/class_control_parameter.html">ControlParameter</a>&amp; cp = <a class="code" href="../../d8/d86/class_control_parameters.html#ab42dff0f07e88bf44c831238dd4ce96f">collection</a>.<a class="code" href="../../dd/da1/class_control_parameter_collection.html#a9e6262aa46992ca879b50d70df030a56">lookup</a>(name);</div><div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;    <span class="keywordflow">switch</span> (cp.<a class="code" href="../../da/d98/class_control_parameter.html#a9bfcef0e53e248af51d60e013609ce8f">_kind</a>) {</div><div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;      <span class="keywordflow">case</span> <a class="code" href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3afd3e4ece78a7d422280d5ed379482229">ControlParameterValueKind::DOUBLE</a>:</div><div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;        cp.<a class="code" href="../../da/d98/class_control_parameter.html#a13b0c1993d779ecd063a2177507f2704">initializeDouble</a>(iniReader.GetReal(sectionName, name, 0.));</div><div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;        <span class="keywordflow">break</span>;</div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;      <span class="keywordflow">case</span> <a class="code" href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3ae738c26bf4ce1037fa81b039a915cbf6">ControlParameterValueKind::FLOAT</a>:</div><div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;        cp.<a class="code" href="../../da/d98/class_control_parameter.html#a758ba2c0d184af0c0a19caee656b2af3">initializeFloat</a>((<span class="keywordtype">float</span>)iniReader.GetReal(sectionName, name, 0.));</div><div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;        <span class="keywordflow">break</span>;</div><div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;      <span class="keywordflow">case</span> <a class="code" href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3a115dca124dc6423c7a400b8a8a0270cc">ControlParameterValueKind::S64</a>:</div><div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;        cp.<a class="code" href="../../da/d98/class_control_parameter.html#abc08f598172aee1e86f51edc67f3fdd8">initializeInteger</a>(iniReader.GetInteger(sectionName, name, 0));</div><div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;        <span class="keywordflow">break</span>;</div><div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;      <span class="keywordflow">default</span>:</div><div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;        <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">&quot;can&#39;t read type &quot;</span> +</div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;                                 std::to_string((<a class="code" href="../../d0/d99/c_types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a>)cp.<a class="code" href="../../da/d98/class_control_parameter.html#a9bfcef0e53e248af51d60e013609ce8f">_kind</a>) +</div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;                                 <span class="stringliteral">&quot; from ini file&quot;</span>);</div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;        <span class="keywordflow">break</span>;</div><div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;    }</div><div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;  }</div><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;}</div><div class="ttc" id="class_control_parameters_html_ab42dff0f07e88bf44c831238dd4ce96f"><div class="ttname"><a href="../../d8/d86/class_control_parameters.html#ab42dff0f07e88bf44c831238dd4ce96f">ControlParameters::collection</a></div><div class="ttdeci">ControlParameterCollection collection</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00441">ControlParameters.h:441</a></div></div>
<div class="ttc" id="class_control_parameter_html_a9bfcef0e53e248af51d60e013609ce8f"><div class="ttname"><a href="../../da/d98/class_control_parameter.html#a9bfcef0e53e248af51d60e013609ce8f">ControlParameter::_kind</a></div><div class="ttdeci">ControlParameterValueKind _kind</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00381">ControlParameters.h:381</a></div></div>
<div class="ttc" id="class_control_parameters_html_acb31e0cf84b904c13a8d4cc62314ed8f"><div class="ttname"><a href="../../d8/d86/class_control_parameters.html#acb31e0cf84b904c13a8d4cc62314ed8f">ControlParameters::_name</a></div><div class="ttdeci">std::string _name</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00444">ControlParameters.h:444</a></div></div>
<div class="ttc" id="class_control_parameter_html"><div class="ttname"><a href="../../da/d98/class_control_parameter.html">ControlParameter</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00120">ControlParameters.h:120</a></div></div>
<div class="ttc" id="class_control_parameter_html_abc08f598172aee1e86f51edc67f3fdd8"><div class="ttname"><a href="../../da/d98/class_control_parameter.html#abc08f598172aee1e86f51edc67f3fdd8">ControlParameter::initializeInteger</a></div><div class="ttdeci">void initializeInteger(s64 i)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00221">ControlParameters.h:221</a></div></div>
<div class="ttc" id="class_control_parameter_html_a13b0c1993d779ecd063a2177507f2704"><div class="ttname"><a href="../../da/d98/class_control_parameter.html#a13b0c1993d779ecd063a2177507f2704">ControlParameter::initializeDouble</a></div><div class="ttdeci">void initializeDouble(double d)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00201">ControlParameters.h:201</a></div></div>
<div class="ttc" id="c_types_8h_html_afaa62991928fb9fb18ff0db62a040aba"><div class="ttname"><a href="../../d0/d99/c_types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a></div><div class="ttdeci">uint32_t u32</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d99/c_types_8h_source.html#l00018">cTypes.h:18</a></div></div>
<div class="ttc" id="class_control_parameter_collection_html_a9e6262aa46992ca879b50d70df030a56"><div class="ttname"><a href="../../dd/da1/class_control_parameter_collection.html#a9e6262aa46992ca879b50d70df030a56">ControlParameterCollection::lookup</a></div><div class="ttdeci">ControlParameter &amp; lookup(const std::string &amp;name)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00095">ControlParameters.h:95</a></div></div>
<div class="ttc" id="_control_parameters_8h_html_a09b572cf97f12b378290dee549d8ecc3a115dca124dc6423c7a400b8a8a0270cc"><div class="ttname"><a href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3a115dca124dc6423c7a400b8a8a0270cc">ControlParameterValueKind::S64</a></div></div>
<div class="ttc" id="class_control_parameter_html_a758ba2c0d184af0c0a19caee656b2af3"><div class="ttname"><a href="../../da/d98/class_control_parameter.html#a758ba2c0d184af0c0a19caee656b2af3">ControlParameter::initializeFloat</a></div><div class="ttdeci">void initializeFloat(float f)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00212">ControlParameters.h:212</a></div></div>
<div class="ttc" id="_control_parameters_8h_html_a09b572cf97f12b378290dee549d8ecc3afd3e4ece78a7d422280d5ed379482229"><div class="ttname"><a href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3afd3e4ece78a7d422280d5ed379482229">ControlParameterValueKind::DOUBLE</a></div></div>
<div class="ttc" id="_control_parameters_8h_html_a09b572cf97f12b378290dee549d8ecc3ae738c26bf4ce1037fa81b039a915cbf6"><div class="ttname"><a href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3ae738c26bf4ce1037fa81b039a915cbf6">ControlParameterValueKind::FLOAT</a></div></div>
</div><!-- fragment -->
<p><div id="dynsection-7" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-7-trigger" src="../../closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-7-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-7-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d8/d86/class_control_parameters_a2b6c5ee9b0578bae6c795d7b93d1d295_cgraph.png" border="0" usemap="#d8/d86/class_control_parameters_a2b6c5ee9b0578bae6c795d7b93d1d295_cgraph" alt=""/></div>
<map name="d8/d86/class_control_parameters_a2b6c5ee9b0578bae6c795d7b93d1d295_cgraph" id="d8/d86/class_control_parameters_a2b6c5ee9b0578bae6c795d7b93d1d295_cgraph">
</map>
</div>
</p>

<p><div id="dynsection-8" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-8-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-8-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-8-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d8/d86/class_control_parameters_a2b6c5ee9b0578bae6c795d7b93d1d295_icgraph.png" border="0" usemap="#d8/d86/class_control_parameters_a2b6c5ee9b0578bae6c795d7b93d1d295_icgraph" alt=""/></div>
<map name="d8/d86/class_control_parameters_a2b6c5ee9b0578bae6c795d7b93d1d295_icgraph" id="d8/d86/class_control_parameters_a2b6c5ee9b0578bae6c795d7b93d1d295_icgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a18eb23794d712e6c56120e644883e4e0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ControlParameters::initializeFromYamlFile </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../d5/d90/_control_parameters_8cpp_source.html#l00365">365</a> of file <a class="el" href="../../d5/d90/_control_parameters_8cpp_source.html">ControlParameters.cpp</a>.</p>

<p>References <a class="el" href="../../d2/d01/_control_parameters_8h_source.html#l00381">ControlParameter::_kind</a>, <a class="el" href="../../d2/d01/_control_parameters_8h_source.html#l00117">ControlParameterCollection::_name</a>, <a class="el" href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3afd3e4ece78a7d422280d5ed379482229">DOUBLE</a>, <a class="el" href="../../dc/dd7/test__casadi_8cpp_source.html#l00202">f()</a>, <a class="el" href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3ae738c26bf4ce1037fa81b039a915cbf6">FLOAT</a>, <a class="el" href="../../d2/d01/_control_parameters_8h_source.html#l00201">ControlParameter::initializeDouble()</a>, <a class="el" href="../../d2/d01/_control_parameters_8h_source.html#l00212">ControlParameter::initializeFloat()</a>, <a class="el" href="../../d2/d01/_control_parameters_8h_source.html#l00221">ControlParameter::initializeInteger()</a>, <a class="el" href="../../d2/d01/_control_parameters_8h_source.html#l00241">ControlParameter::initializeVec3d()</a>, <a class="el" href="../../d2/d01/_control_parameters_8h_source.html#l00230">ControlParameter::initializeVec3f()</a>, <a class="el" href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3a115dca124dc6423c7a400b8a8a0270cc">S64</a>, <a class="el" href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3acda86ec015dc718f45093f44299896b7">VEC3_DOUBLE</a>, <a class="el" href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3a67e64e66f81168ac8d94ce0c2467eb95">VEC3_FLOAT</a>, and <a class="el" href="../../d5/d90/_control_parameters_8cpp_source.html#l00014">YAML_COLLECTION_NAME_KEY</a>.</p>
<div class="fragment"><div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;                                                                    {</div><div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;  ParamHandler paramHandler(path);</div><div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;</div><div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;  <span class="keywordflow">if</span> (!paramHandler.fileOpenedSuccessfully()) {</div><div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;    printf(</div><div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;        <span class="stringliteral">&quot;[ERROR] Could not open yaml file %s : not initializing control &quot;</span></div><div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;        <span class="stringliteral">&quot;parameters!\n&quot;</span>,</div><div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;        path.c_str());</div><div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;    <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">&quot;yaml file bad&quot;</span>);</div><div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;  }</div><div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;</div><div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;  std::string name;</div><div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;  <span class="keywordflow">if</span> (!paramHandler.getString(<a class="code" href="../../d5/d90/_control_parameters_8cpp.html#a53f4748d9620c875c3cd48372e3a2258">YAML_COLLECTION_NAME_KEY</a>, name)) {</div><div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;    printf(<span class="stringliteral">&quot;[ERROR] YAML doesn&#39;t have a a collection name field named %s\n&quot;</span>,</div><div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;           <a class="code" href="../../d5/d90/_control_parameters_8cpp.html#a53f4748d9620c875c3cd48372e3a2258">YAML_COLLECTION_NAME_KEY</a>);</div><div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;    <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">&quot;yaml file bad&quot;</span>);</div><div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;  }</div><div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;</div><div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;  <span class="keywordflow">if</span> (name != <a class="code" href="../../d8/d86/class_control_parameters.html#acb31e0cf84b904c13a8d4cc62314ed8f">_name</a>) {</div><div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;    printf(</div><div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;        <span class="stringliteral">&quot;[ERROR] YAML file %s has collection name %s which cannot be used to &quot;</span></div><div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;        <span class="stringliteral">&quot;initialize %s\n&quot;</span>,</div><div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;        path.c_str(), name.c_str(), <a class="code" href="../../d8/d86/class_control_parameters.html#acb31e0cf84b904c13a8d4cc62314ed8f">_name</a>.c_str());</div><div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;    <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">&quot;yaml file bad&quot;</span>);</div><div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;  }</div><div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;</div><div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;  std::vector&lt;std::string&gt; keys = paramHandler.getKeys();</div><div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;</div><div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;  <span class="keywordflow">for</span> (<span class="keyword">auto</span>&amp; key : keys) {</div><div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;    <span class="keywordflow">if</span> (key == <a class="code" href="../../d5/d90/_control_parameters_8cpp.html#a53f4748d9620c875c3cd48372e3a2258">YAML_COLLECTION_NAME_KEY</a>) <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;    <a class="code" href="../../da/d98/class_control_parameter.html">ControlParameter</a>&amp; cp = <a class="code" href="../../d8/d86/class_control_parameters.html#ab42dff0f07e88bf44c831238dd4ce96f">collection</a>.<a class="code" href="../../dd/da1/class_control_parameter_collection.html#a9e6262aa46992ca879b50d70df030a56">lookup</a>(key);</div><div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;    <span class="keywordflow">switch</span> (cp.<a class="code" href="../../da/d98/class_control_parameter.html#a9bfcef0e53e248af51d60e013609ce8f">_kind</a>) {</div><div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;      <span class="keywordflow">case</span> <a class="code" href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3afd3e4ece78a7d422280d5ed379482229">ControlParameterValueKind::DOUBLE</a>: {</div><div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;        <span class="keywordtype">double</span> d;</div><div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;        assert(paramHandler.getValue(key, d));</div><div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;        cp.<a class="code" href="../../da/d98/class_control_parameter.html#a13b0c1993d779ecd063a2177507f2704">initializeDouble</a>(d);</div><div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;      } <span class="keywordflow">break</span>;</div><div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;</div><div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;      <span class="keywordflow">case</span> <a class="code" href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3ae738c26bf4ce1037fa81b039a915cbf6">ControlParameterValueKind::FLOAT</a>: {</div><div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;        <span class="keywordtype">float</span> <a class="code" href="../../dc/dd7/test__casadi_8cpp.html#ae20d7fba59865a21504b65cdb44cbfe5">f</a>;</div><div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;        assert(paramHandler.getValue(key, f));</div><div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;        cp.<a class="code" href="../../da/d98/class_control_parameter.html#a758ba2c0d184af0c0a19caee656b2af3">initializeFloat</a>(f);</div><div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;      } <span class="keywordflow">break</span>;</div><div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;</div><div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;      <span class="keywordflow">case</span> <a class="code" href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3a115dca124dc6423c7a400b8a8a0270cc">ControlParameterValueKind::S64</a>: {</div><div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;        <a class="code" href="../../d0/d99/c_types_8h.html#a350c6fc928e3bdc6c6486268ac8fb269">s64</a> <a class="code" href="../../dc/dd7/test__casadi_8cpp.html#ae20d7fba59865a21504b65cdb44cbfe5">f</a>;</div><div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;        assert(paramHandler.getValue(key, f));</div><div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;        cp.<a class="code" href="../../da/d98/class_control_parameter.html#abc08f598172aee1e86f51edc67f3fdd8">initializeInteger</a>(f);</div><div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;      } <span class="keywordflow">break</span>;</div><div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;</div><div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;      <span class="keywordflow">case</span> <a class="code" href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3acda86ec015dc718f45093f44299896b7">ControlParameterValueKind::VEC3_DOUBLE</a>: {</div><div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;        std::vector&lt;double&gt; vv;</div><div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;        assert(paramHandler.getVector(key, vv));</div><div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;        assert(vv.size() == 3);</div><div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;        <a class="code" href="../../d9/d8e/cpp_types_8h.html#a6f07728c866b15ff0676a9b2ebfd2ba6">Vec3&lt;double&gt;</a> v(vv[0], vv[1], vv[2]);</div><div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;        cp.<a class="code" href="../../da/d98/class_control_parameter.html#a09a2be4eb342febe00c60d9eaa735d4e">initializeVec3d</a>(v);</div><div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;      } <span class="keywordflow">break</span>;</div><div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;</div><div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;      <span class="keywordflow">case</span> <a class="code" href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3a67e64e66f81168ac8d94ce0c2467eb95">ControlParameterValueKind::VEC3_FLOAT</a>: {</div><div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;        std::vector&lt;float&gt; vv;</div><div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;        assert(paramHandler.getVector(key, vv));</div><div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;        assert(vv.size() == 3);</div><div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;        <a class="code" href="../../d9/d8e/cpp_types_8h.html#a6f07728c866b15ff0676a9b2ebfd2ba6">Vec3&lt;float&gt;</a> v(vv[0], vv[1], vv[2]);</div><div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;        cp.<a class="code" href="../../da/d98/class_control_parameter.html#adc8af6ad0dfb0c862cae6ec8ae8d4afd">initializeVec3f</a>(v);</div><div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;      } <span class="keywordflow">break</span>;</div><div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;</div><div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;      <span class="keywordflow">default</span>:</div><div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;        <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">&quot;can&#39;t read type &quot;</span> +</div><div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;                                 std::to_string((<a class="code" href="../../d0/d99/c_types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a>)cp.<a class="code" href="../../da/d98/class_control_parameter.html#a9bfcef0e53e248af51d60e013609ce8f">_kind</a>) +</div><div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;                                 <span class="stringliteral">&quot; from yaml file&quot;</span>);</div><div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;        <span class="keywordflow">break</span>;</div><div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;    }</div><div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160;  }</div><div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160;}</div><div class="ttc" id="class_control_parameters_html_ab42dff0f07e88bf44c831238dd4ce96f"><div class="ttname"><a href="../../d8/d86/class_control_parameters.html#ab42dff0f07e88bf44c831238dd4ce96f">ControlParameters::collection</a></div><div class="ttdeci">ControlParameterCollection collection</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00441">ControlParameters.h:441</a></div></div>
<div class="ttc" id="class_control_parameter_html_a9bfcef0e53e248af51d60e013609ce8f"><div class="ttname"><a href="../../da/d98/class_control_parameter.html#a9bfcef0e53e248af51d60e013609ce8f">ControlParameter::_kind</a></div><div class="ttdeci">ControlParameterValueKind _kind</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00381">ControlParameters.h:381</a></div></div>
<div class="ttc" id="class_control_parameters_html_acb31e0cf84b904c13a8d4cc62314ed8f"><div class="ttname"><a href="../../d8/d86/class_control_parameters.html#acb31e0cf84b904c13a8d4cc62314ed8f">ControlParameters::_name</a></div><div class="ttdeci">std::string _name</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00444">ControlParameters.h:444</a></div></div>
<div class="ttc" id="cpp_types_8h_html_a6f07728c866b15ff0676a9b2ebfd2ba6"><div class="ttname"><a href="../../d9/d8e/cpp_types_8h.html#a6f07728c866b15ff0676a9b2ebfd2ba6">Vec3</a></div><div class="ttdeci">typename Eigen::Matrix&lt; T, 3, 1 &gt; Vec3</div><div class="ttdef"><b>Definition:</b> <a href="../../d9/d8e/cpp_types_8h_source.html#l00026">cppTypes.h:26</a></div></div>
<div class="ttc" id="class_control_parameter_html"><div class="ttname"><a href="../../da/d98/class_control_parameter.html">ControlParameter</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00120">ControlParameters.h:120</a></div></div>
<div class="ttc" id="c_types_8h_html_a350c6fc928e3bdc6c6486268ac8fb269"><div class="ttname"><a href="../../d0/d99/c_types_8h.html#a350c6fc928e3bdc6c6486268ac8fb269">s64</a></div><div class="ttdeci">int64_t s64</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d99/c_types_8h_source.html#l00024">cTypes.h:24</a></div></div>
<div class="ttc" id="class_control_parameter_html_a09a2be4eb342febe00c60d9eaa735d4e"><div class="ttname"><a href="../../da/d98/class_control_parameter.html#a09a2be4eb342febe00c60d9eaa735d4e">ControlParameter::initializeVec3d</a></div><div class="ttdeci">void initializeVec3d(const Vec3&lt; double &gt; &amp;v)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00241">ControlParameters.h:241</a></div></div>
<div class="ttc" id="class_control_parameter_html_abc08f598172aee1e86f51edc67f3fdd8"><div class="ttname"><a href="../../da/d98/class_control_parameter.html#abc08f598172aee1e86f51edc67f3fdd8">ControlParameter::initializeInteger</a></div><div class="ttdeci">void initializeInteger(s64 i)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00221">ControlParameters.h:221</a></div></div>
<div class="ttc" id="class_control_parameter_html_a13b0c1993d779ecd063a2177507f2704"><div class="ttname"><a href="../../da/d98/class_control_parameter.html#a13b0c1993d779ecd063a2177507f2704">ControlParameter::initializeDouble</a></div><div class="ttdeci">void initializeDouble(double d)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00201">ControlParameters.h:201</a></div></div>
<div class="ttc" id="c_types_8h_html_afaa62991928fb9fb18ff0db62a040aba"><div class="ttname"><a href="../../d0/d99/c_types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a></div><div class="ttdeci">uint32_t u32</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d99/c_types_8h_source.html#l00018">cTypes.h:18</a></div></div>
<div class="ttc" id="_control_parameters_8cpp_html_a53f4748d9620c875c3cd48372e3a2258"><div class="ttname"><a href="../../d5/d90/_control_parameters_8cpp.html#a53f4748d9620c875c3cd48372e3a2258">YAML_COLLECTION_NAME_KEY</a></div><div class="ttdeci">#define YAML_COLLECTION_NAME_KEY</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/d90/_control_parameters_8cpp_source.html#l00014">ControlParameters.cpp:14</a></div></div>
<div class="ttc" id="class_control_parameter_collection_html_a9e6262aa46992ca879b50d70df030a56"><div class="ttname"><a href="../../dd/da1/class_control_parameter_collection.html#a9e6262aa46992ca879b50d70df030a56">ControlParameterCollection::lookup</a></div><div class="ttdeci">ControlParameter &amp; lookup(const std::string &amp;name)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00095">ControlParameters.h:95</a></div></div>
<div class="ttc" id="_control_parameters_8h_html_a09b572cf97f12b378290dee549d8ecc3acda86ec015dc718f45093f44299896b7"><div class="ttname"><a href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3acda86ec015dc718f45093f44299896b7">ControlParameterValueKind::VEC3_DOUBLE</a></div></div>
<div class="ttc" id="_control_parameters_8h_html_a09b572cf97f12b378290dee549d8ecc3a67e64e66f81168ac8d94ce0c2467eb95"><div class="ttname"><a href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3a67e64e66f81168ac8d94ce0c2467eb95">ControlParameterValueKind::VEC3_FLOAT</a></div></div>
<div class="ttc" id="class_control_parameter_html_adc8af6ad0dfb0c862cae6ec8ae8d4afd"><div class="ttname"><a href="../../da/d98/class_control_parameter.html#adc8af6ad0dfb0c862cae6ec8ae8d4afd">ControlParameter::initializeVec3f</a></div><div class="ttdeci">void initializeVec3f(const Vec3&lt; float &gt; &amp;v)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00230">ControlParameters.h:230</a></div></div>
<div class="ttc" id="_control_parameters_8h_html_a09b572cf97f12b378290dee549d8ecc3a115dca124dc6423c7a400b8a8a0270cc"><div class="ttname"><a href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3a115dca124dc6423c7a400b8a8a0270cc">ControlParameterValueKind::S64</a></div></div>
<div class="ttc" id="class_control_parameter_html_a758ba2c0d184af0c0a19caee656b2af3"><div class="ttname"><a href="../../da/d98/class_control_parameter.html#a758ba2c0d184af0c0a19caee656b2af3">ControlParameter::initializeFloat</a></div><div class="ttdeci">void initializeFloat(float f)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00212">ControlParameters.h:212</a></div></div>
<div class="ttc" id="_control_parameters_8h_html_a09b572cf97f12b378290dee549d8ecc3afd3e4ece78a7d422280d5ed379482229"><div class="ttname"><a href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3afd3e4ece78a7d422280d5ed379482229">ControlParameterValueKind::DOUBLE</a></div></div>
<div class="ttc" id="_control_parameters_8h_html_a09b572cf97f12b378290dee549d8ecc3ae738c26bf4ce1037fa81b039a915cbf6"><div class="ttname"><a href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3ae738c26bf4ce1037fa81b039a915cbf6">ControlParameterValueKind::FLOAT</a></div></div>
<div class="ttc" id="test__casadi_8cpp_html_ae20d7fba59865a21504b65cdb44cbfe5"><div class="ttname"><a href="../../dc/dd7/test__casadi_8cpp.html#ae20d7fba59865a21504b65cdb44cbfe5">f</a></div><div class="ttdeci">MX f(const MX &amp;x, const MX &amp;u)</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/dd7/test__casadi_8cpp_source.html#l00202">test_casadi.cpp:202</a></div></div>
</div><!-- fragment -->
<p><div id="dynsection-9" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-9-trigger" src="../../closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-9-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-9-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d8/d86/class_control_parameters_a18eb23794d712e6c56120e644883e4e0_cgraph.png" border="0" usemap="#d8/d86/class_control_parameters_a18eb23794d712e6c56120e644883e4e0_cgraph" alt=""/></div>
<map name="d8/d86/class_control_parameters_a18eb23794d712e6c56120e644883e4e0_cgraph" id="d8/d86/class_control_parameters_a18eb23794d712e6c56120e644883e4e0_cgraph">
</map>
</div>
</p>

<p><div id="dynsection-10" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-10-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-10-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-10-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d8/d86/class_control_parameters_a18eb23794d712e6c56120e644883e4e0_icgraph.png" border="0" usemap="#d8/d86/class_control_parameters_a18eb23794d712e6c56120e644883e4e0_icgraph" alt=""/></div>
<map name="d8/d86/class_control_parameters_a18eb23794d712e6c56120e644883e4e0_icgraph" id="d8/d86/class_control_parameters_a18eb23794d712e6c56120e644883e4e0_icgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="aeb42c9876070a4358bff08c26e48f4b7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ControlParameters::initializeInteger </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d0/d99/c_types_8h.html#a350c6fc928e3bdc6c6486268ac8fb269">s64</a>&#160;</td>
          <td class="paramname"><em>i</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../d2/d01/_control_parameters_8h_source.html#l00416">416</a> of file <a class="el" href="../../d2/d01/_control_parameters_8h_source.html">ControlParameters.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;                                                       {</div><div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;    <a class="code" href="../../d8/d86/class_control_parameters.html#ab42dff0f07e88bf44c831238dd4ce96f">collection</a>.<a class="code" href="../../dd/da1/class_control_parameter_collection.html#a9e6262aa46992ca879b50d70df030a56">lookup</a>(name).<a class="code" href="../../da/d98/class_control_parameter.html#abc08f598172aee1e86f51edc67f3fdd8">initializeInteger</a>(i);</div><div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;  }</div><div class="ttc" id="class_control_parameters_html_ab42dff0f07e88bf44c831238dd4ce96f"><div class="ttname"><a href="../../d8/d86/class_control_parameters.html#ab42dff0f07e88bf44c831238dd4ce96f">ControlParameters::collection</a></div><div class="ttdeci">ControlParameterCollection collection</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00441">ControlParameters.h:441</a></div></div>
<div class="ttc" id="class_control_parameter_html_abc08f598172aee1e86f51edc67f3fdd8"><div class="ttname"><a href="../../da/d98/class_control_parameter.html#abc08f598172aee1e86f51edc67f3fdd8">ControlParameter::initializeInteger</a></div><div class="ttdeci">void initializeInteger(s64 i)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00221">ControlParameters.h:221</a></div></div>
<div class="ttc" id="class_control_parameter_collection_html_a9e6262aa46992ca879b50d70df030a56"><div class="ttname"><a href="../../dd/da1/class_control_parameter_collection.html#a9e6262aa46992ca879b50d70df030a56">ControlParameterCollection::lookup</a></div><div class="ttdeci">ControlParameter &amp; lookup(const std::string &amp;name)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00095">ControlParameters.h:95</a></div></div>
</div><!-- fragment -->
<p><div id="dynsection-11" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-11-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-11-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-11-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d8/d86/class_control_parameters_aeb42c9876070a4358bff08c26e48f4b7_icgraph.png" border="0" usemap="#d8/d86/class_control_parameters_aeb42c9876070a4358bff08c26e48f4b7_icgraph" alt=""/></div>
<map name="d8/d86/class_control_parameters_aeb42c9876070a4358bff08c26e48f4b7_icgraph" id="d8/d86/class_control_parameters_aeb42c9876070a4358bff08c26e48f4b7_icgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="af90106f2450e3521eb6ff2e567506d16"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ControlParameters::initializeVec3d </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d9/d8e/cpp_types_8h.html#a6f07728c866b15ff0676a9b2ebfd2ba6">Vec3</a>&lt; double &gt; &amp;&#160;</td>
          <td class="paramname"><em>v</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../d2/d01/_control_parameters_8h_source.html#l00424">424</a> of file <a class="el" href="../../d2/d01/_control_parameters_8h_source.html">ControlParameters.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;                                                               {</div><div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;    <a class="code" href="../../d8/d86/class_control_parameters.html#ab42dff0f07e88bf44c831238dd4ce96f">collection</a>.<a class="code" href="../../dd/da1/class_control_parameter_collection.html#a9e6262aa46992ca879b50d70df030a56">lookup</a>(name).<a class="code" href="../../da/d98/class_control_parameter.html#a09a2be4eb342febe00c60d9eaa735d4e">initializeVec3d</a>(v);</div><div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;  }</div><div class="ttc" id="class_control_parameters_html_ab42dff0f07e88bf44c831238dd4ce96f"><div class="ttname"><a href="../../d8/d86/class_control_parameters.html#ab42dff0f07e88bf44c831238dd4ce96f">ControlParameters::collection</a></div><div class="ttdeci">ControlParameterCollection collection</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00441">ControlParameters.h:441</a></div></div>
<div class="ttc" id="class_control_parameter_html_a09a2be4eb342febe00c60d9eaa735d4e"><div class="ttname"><a href="../../da/d98/class_control_parameter.html#a09a2be4eb342febe00c60d9eaa735d4e">ControlParameter::initializeVec3d</a></div><div class="ttdeci">void initializeVec3d(const Vec3&lt; double &gt; &amp;v)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00241">ControlParameters.h:241</a></div></div>
<div class="ttc" id="class_control_parameter_collection_html_a9e6262aa46992ca879b50d70df030a56"><div class="ttname"><a href="../../dd/da1/class_control_parameter_collection.html#a9e6262aa46992ca879b50d70df030a56">ControlParameterCollection::lookup</a></div><div class="ttdeci">ControlParameter &amp; lookup(const std::string &amp;name)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00095">ControlParameters.h:95</a></div></div>
</div><!-- fragment -->
<p><div id="dynsection-12" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-12-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-12-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-12-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d8/d86/class_control_parameters_af90106f2450e3521eb6ff2e567506d16_icgraph.png" border="0" usemap="#d8/d86/class_control_parameters_af90106f2450e3521eb6ff2e567506d16_icgraph" alt=""/></div>
<map name="d8/d86/class_control_parameters_af90106f2450e3521eb6ff2e567506d16_icgraph" id="d8/d86/class_control_parameters_af90106f2450e3521eb6ff2e567506d16_icgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a0a7e46d226067a4f1e00248efb55db1b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ControlParameters::initializeVec3f </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d9/d8e/cpp_types_8h.html#a6f07728c866b15ff0676a9b2ebfd2ba6">Vec3</a>&lt; float &gt; &amp;&#160;</td>
          <td class="paramname"><em>v</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../d2/d01/_control_parameters_8h_source.html#l00420">420</a> of file <a class="el" href="../../d2/d01/_control_parameters_8h_source.html">ControlParameters.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;                                                              {</div><div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;    <a class="code" href="../../d8/d86/class_control_parameters.html#ab42dff0f07e88bf44c831238dd4ce96f">collection</a>.<a class="code" href="../../dd/da1/class_control_parameter_collection.html#a9e6262aa46992ca879b50d70df030a56">lookup</a>(name).<a class="code" href="../../da/d98/class_control_parameter.html#adc8af6ad0dfb0c862cae6ec8ae8d4afd">initializeVec3f</a>(v);</div><div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;  }</div><div class="ttc" id="class_control_parameters_html_ab42dff0f07e88bf44c831238dd4ce96f"><div class="ttname"><a href="../../d8/d86/class_control_parameters.html#ab42dff0f07e88bf44c831238dd4ce96f">ControlParameters::collection</a></div><div class="ttdeci">ControlParameterCollection collection</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00441">ControlParameters.h:441</a></div></div>
<div class="ttc" id="class_control_parameter_collection_html_a9e6262aa46992ca879b50d70df030a56"><div class="ttname"><a href="../../dd/da1/class_control_parameter_collection.html#a9e6262aa46992ca879b50d70df030a56">ControlParameterCollection::lookup</a></div><div class="ttdeci">ControlParameter &amp; lookup(const std::string &amp;name)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00095">ControlParameters.h:95</a></div></div>
<div class="ttc" id="class_control_parameter_html_adc8af6ad0dfb0c862cae6ec8ae8d4afd"><div class="ttname"><a href="../../da/d98/class_control_parameter.html#adc8af6ad0dfb0c862cae6ec8ae8d4afd">ControlParameter::initializeVec3f</a></div><div class="ttdeci">void initializeVec3f(const Vec3&lt; float &gt; &amp;v)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00230">ControlParameters.h:230</a></div></div>
</div><!-- fragment -->
<p><div id="dynsection-13" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-13-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-13-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-13-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d8/d86/class_control_parameters_a0a7e46d226067a4f1e00248efb55db1b_icgraph.png" border="0" usemap="#d8/d86/class_control_parameters_a0a7e46d226067a4f1e00248efb55db1b_icgraph" alt=""/></div>
<map name="d8/d86/class_control_parameters_a0a7e46d226067a4f1e00248efb55db1b_icgraph" id="d8/d86/class_control_parameters_a0a7e46d226067a4f1e00248efb55db1b_icgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a12b144b3d659080b6e0bfd93569b566e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool ControlParameters::isFullyInitialized </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>If true, all parameters have been initialized in one way or another </p>

<p>Definition at line <a class="el" href="../../d2/d01/_control_parameters_8h_source.html#l00403">403</a> of file <a class="el" href="../../d2/d01/_control_parameters_8h_source.html">ControlParameters.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;{ <span class="keywordflow">return</span> <a class="code" href="../../d8/d86/class_control_parameters.html#ab42dff0f07e88bf44c831238dd4ce96f">collection</a>.<a class="code" href="../../dd/da1/class_control_parameter_collection.html#a9a8b467533b42dd661d659b715383729">checkIfAllSet</a>(); }</div><div class="ttc" id="class_control_parameters_html_ab42dff0f07e88bf44c831238dd4ce96f"><div class="ttname"><a href="../../d8/d86/class_control_parameters.html#ab42dff0f07e88bf44c831238dd4ce96f">ControlParameters::collection</a></div><div class="ttdeci">ControlParameterCollection collection</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00441">ControlParameters.h:441</a></div></div>
<div class="ttc" id="class_control_parameter_collection_html_a9a8b467533b42dd661d659b715383729"><div class="ttname"><a href="../../dd/da1/class_control_parameter_collection.html#a9a8b467533b42dd661d659b715383729">ControlParameterCollection::checkIfAllSet</a></div><div class="ttdeci">bool checkIfAllSet()</div><div class="ttdoc">are all the control parameters initialized? </div><div class="ttdef"><b>Definition:</b> <a href="../../d5/d90/_control_parameters_8cpp_source.html#l00067">ControlParameters.cpp:67</a></div></div>
</div><!-- fragment -->
<p><div id="dynsection-14" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-14-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-14-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-14-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d8/d86/class_control_parameters_a12b144b3d659080b6e0bfd93569b566e_icgraph.png" border="0" usemap="#d8/d86/class_control_parameters_a12b144b3d659080b6e0bfd93569b566e_icgraph" alt=""/></div>
<map name="d8/d86/class_control_parameters_a12b144b3d659080b6e0bfd93569b566e_icgraph" id="d8/d86/class_control_parameters_a12b144b3d659080b6e0bfd93569b566e_icgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a8f614fa95d472922d65efe48238a7afc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ControlParameters::lockMutex </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../d2/d01/_control_parameters_8h_source.html#l00428">428</a> of file <a class="el" href="../../d2/d01/_control_parameters_8h_source.html">ControlParameters.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;{ <a class="code" href="../../d8/d86/class_control_parameters.html#ac272e84e8fcf627cdd7c6f9c985a621d">_mutex</a>.lock(); }</div><div class="ttc" id="class_control_parameters_html_ac272e84e8fcf627cdd7c6f9c985a621d"><div class="ttname"><a href="../../d8/d86/class_control_parameters.html#ac272e84e8fcf627cdd7c6f9c985a621d">ControlParameters::_mutex</a></div><div class="ttdeci">std::mutex _mutex</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00445">ControlParameters.h:445</a></div></div>
</div><!-- fragment -->
<p><div id="dynsection-15" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-15-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-15-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-15-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d8/d86/class_control_parameters_a8f614fa95d472922d65efe48238a7afc_icgraph.png" border="0" usemap="#d8/d86/class_control_parameters_a8f614fa95d472922d65efe48238a7afc_icgraph" alt=""/></div>
<map name="d8/d86/class_control_parameters_a8f614fa95d472922d65efe48238a7afc_icgraph" id="d8/d86/class_control_parameters_a8f614fa95d472922d65efe48238a7afc_icgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="af025ae2e93e63f23e77802189bfbc0af"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ControlParameters::unlockMutex </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../d2/d01/_control_parameters_8h_source.html#l00430">430</a> of file <a class="el" href="../../d2/d01/_control_parameters_8h_source.html">ControlParameters.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;{ <a class="code" href="../../d8/d86/class_control_parameters.html#ac272e84e8fcf627cdd7c6f9c985a621d">_mutex</a>.unlock(); }</div><div class="ttc" id="class_control_parameters_html_ac272e84e8fcf627cdd7c6f9c985a621d"><div class="ttname"><a href="../../d8/d86/class_control_parameters.html#ac272e84e8fcf627cdd7c6f9c985a621d">ControlParameters::_mutex</a></div><div class="ttdeci">std::mutex _mutex</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00445">ControlParameters.h:445</a></div></div>
</div><!-- fragment -->
<p><div id="dynsection-16" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-16-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-16-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-16-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d8/d86/class_control_parameters_af025ae2e93e63f23e77802189bfbc0af_icgraph.png" border="0" usemap="#d8/d86/class_control_parameters_af025ae2e93e63f23e77802189bfbc0af_icgraph" alt=""/></div>
<map name="d8/d86/class_control_parameters_af025ae2e93e63f23e77802189bfbc0af_icgraph" id="d8/d86/class_control_parameters_af025ae2e93e63f23e77802189bfbc0af_icgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a76eb75236afb53701ca4eb33e18ed418"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ControlParameters::writeToIniFile </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../d5/d90/_control_parameters_8cpp_source.html#l00196">196</a> of file <a class="el" href="../../d5/d90/_control_parameters_8cpp_source.html">ControlParameters.cpp</a>.</p>

<p>References <a class="el" href="../../de/da5/utilities_8cpp_source.html#l00007">writeStringToFile()</a>.</p>
<div class="fragment"><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;                                                            {</div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;  <a class="code" href="../../de/df0/utilities_8h.html#a12c9857847f253886a46da7b5c32dbc6">writeStringToFile</a>(path, <a class="code" href="../../d8/d86/class_control_parameters.html#ab42dff0f07e88bf44c831238dd4ce96f">collection</a>.<a class="code" href="../../dd/da1/class_control_parameter_collection.html#a4963e47c6184ba7433b2affcd5d53b01">printToIniString</a>());</div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;}</div><div class="ttc" id="class_control_parameters_html_ab42dff0f07e88bf44c831238dd4ce96f"><div class="ttname"><a href="../../d8/d86/class_control_parameters.html#ab42dff0f07e88bf44c831238dd4ce96f">ControlParameters::collection</a></div><div class="ttdeci">ControlParameterCollection collection</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00441">ControlParameters.h:441</a></div></div>
<div class="ttc" id="class_control_parameter_collection_html_a4963e47c6184ba7433b2affcd5d53b01"><div class="ttname"><a href="../../dd/da1/class_control_parameter_collection.html#a4963e47c6184ba7433b2affcd5d53b01">ControlParameterCollection::printToIniString</a></div><div class="ttdeci">std::string printToIniString()</div><div class="ttdoc">print all control parameters in the INI file format </div><div class="ttdef"><b>Definition:</b> <a href="../../d5/d90/_control_parameters_8cpp_source.html#l00100">ControlParameters.cpp:100</a></div></div>
<div class="ttc" id="utilities_8h_html_a12c9857847f253886a46da7b5c32dbc6"><div class="ttname"><a href="../../de/df0/utilities_8h.html#a12c9857847f253886a46da7b5c32dbc6">writeStringToFile</a></div><div class="ttdeci">void writeStringToFile(const std::string &amp;fileName, const std::string &amp;fileData)</div><div class="ttdef"><b>Definition:</b> <a href="../../de/da5/utilities_8cpp_source.html#l00007">utilities.cpp:7</a></div></div>
</div><!-- fragment -->
<p><div id="dynsection-17" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-17-trigger" src="../../closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-17-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-17-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d8/d86/class_control_parameters_a76eb75236afb53701ca4eb33e18ed418_cgraph.png" border="0" usemap="#d8/d86/class_control_parameters_a76eb75236afb53701ca4eb33e18ed418_cgraph" alt=""/></div>
<map name="d8/d86/class_control_parameters_a76eb75236afb53701ca4eb33e18ed418_cgraph" id="d8/d86/class_control_parameters_a76eb75236afb53701ca4eb33e18ed418_cgraph">
</map>
</div>
</p>

<p><div id="dynsection-18" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-18-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-18-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-18-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d8/d86/class_control_parameters_a76eb75236afb53701ca4eb33e18ed418_icgraph.png" border="0" usemap="#d8/d86/class_control_parameters_a76eb75236afb53701ca4eb33e18ed418_icgraph" alt=""/></div>
<map name="d8/d86/class_control_parameters_a76eb75236afb53701ca4eb33e18ed418_icgraph" id="d8/d86/class_control_parameters_a76eb75236afb53701ca4eb33e18ed418_icgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a3eabcba112adc206c8a11d0cbfc75619"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ControlParameters::writeToYamlFile </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../d5/d90/_control_parameters_8cpp_source.html#l00200">200</a> of file <a class="el" href="../../d5/d90/_control_parameters_8cpp_source.html">ControlParameters.cpp</a>.</p>

<p>References <a class="el" href="../../de/da5/utilities_8cpp_source.html#l00007">writeStringToFile()</a>.</p>
<div class="fragment"><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;                                                             {</div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;  <a class="code" href="../../de/df0/utilities_8h.html#a12c9857847f253886a46da7b5c32dbc6">writeStringToFile</a>(path, <a class="code" href="../../d8/d86/class_control_parameters.html#ab42dff0f07e88bf44c831238dd4ce96f">collection</a>.<a class="code" href="../../dd/da1/class_control_parameter_collection.html#ae14191de72494a2274fb56b9047fcab6">printToYamlString</a>());</div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;}</div><div class="ttc" id="class_control_parameters_html_ab42dff0f07e88bf44c831238dd4ce96f"><div class="ttname"><a href="../../d8/d86/class_control_parameters.html#ab42dff0f07e88bf44c831238dd4ce96f">ControlParameters::collection</a></div><div class="ttdeci">ControlParameterCollection collection</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00441">ControlParameters.h:441</a></div></div>
<div class="ttc" id="utilities_8h_html_a12c9857847f253886a46da7b5c32dbc6"><div class="ttname"><a href="../../de/df0/utilities_8h.html#a12c9857847f253886a46da7b5c32dbc6">writeStringToFile</a></div><div class="ttdeci">void writeStringToFile(const std::string &amp;fileName, const std::string &amp;fileData)</div><div class="ttdef"><b>Definition:</b> <a href="../../de/da5/utilities_8cpp_source.html#l00007">utilities.cpp:7</a></div></div>
<div class="ttc" id="class_control_parameter_collection_html_ae14191de72494a2274fb56b9047fcab6"><div class="ttname"><a href="../../dd/da1/class_control_parameter_collection.html#ae14191de72494a2274fb56b9047fcab6">ControlParameterCollection::printToYamlString</a></div><div class="ttdeci">std::string printToYamlString()</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/d90/_control_parameters_8cpp_source.html#l00157">ControlParameters.cpp:157</a></div></div>
</div><!-- fragment -->
<p><div id="dynsection-19" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-19-trigger" src="../../closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-19-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-19-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d8/d86/class_control_parameters_a3eabcba112adc206c8a11d0cbfc75619_cgraph.png" border="0" usemap="#d8/d86/class_control_parameters_a3eabcba112adc206c8a11d0cbfc75619_cgraph" alt=""/></div>
<map name="d8/d86/class_control_parameters_a3eabcba112adc206c8a11d0cbfc75619_cgraph" id="d8/d86/class_control_parameters_a3eabcba112adc206c8a11d0cbfc75619_cgraph">
</map>
</div>
</p>

<p><div id="dynsection-20" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-20-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-20-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-20-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d8/d86/class_control_parameters_a3eabcba112adc206c8a11d0cbfc75619_icgraph.png" border="0" usemap="#d8/d86/class_control_parameters_a3eabcba112adc206c8a11d0cbfc75619_icgraph" alt=""/></div>
<map name="d8/d86/class_control_parameters_a3eabcba112adc206c8a11d0cbfc75619_icgraph" id="d8/d86/class_control_parameters_a3eabcba112adc206c8a11d0cbfc75619_icgraph">
</map>
</div>
</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="ac272e84e8fcf627cdd7c6f9c985a621d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::mutex ControlParameters::_mutex</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../d2/d01/_control_parameters_8h_source.html#l00445">445</a> of file <a class="el" href="../../d2/d01/_control_parameters_8h_source.html">ControlParameters.h</a>.</p>

</div>
</div>
<a class="anchor" id="acb31e0cf84b904c13a8d4cc62314ed8f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string ControlParameters::_name</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../d2/d01/_control_parameters_8h_source.html#l00444">444</a> of file <a class="el" href="../../d2/d01/_control_parameters_8h_source.html">ControlParameters.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab42dff0f07e88bf44c831238dd4ce96f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dd/da1/class_control_parameter_collection.html">ControlParameterCollection</a> ControlParameters::collection</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../d2/d01/_control_parameters_8h_source.html#l00441">441</a> of file <a class="el" href="../../d2/d01/_control_parameters_8h_source.html">ControlParameters.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="../../d2/d01/_control_parameters_8h_source.html">ControlParameters.h</a></li>
<li><a class="el" href="../../d5/d90/_control_parameters_8cpp_source.html">ControlParameters.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../d8/d86/class_control_parameters.html">ControlParameters</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
